#pragma once

//
// Sum power
//
double sum_power(int num_elements, double* xi, int power);

//
// Sum multiply power
//
double sum_mul_power(int num_elements, double* xi, double* yi, int power_x, int power_y);

//
// Evaluate polynimials
//
double evaluate_polynomial(double x, double* p, int num_p);
